package org.liufeng.serch.manager;

import java.util.List;
import java.util.Map;

import org.liufeng.serch.dao.GateMapper;
import org.liufeng.serch.entity.Gate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;





@Service      //依赖注入
@Transactional   //事物
public class GateManager {
	@Autowired
	private GateMapper gateDao;

	public List<Gate> getGate(Map<String, Object> filterMap) {
		return gateDao.findByPageByMap(filterMap);
	}
	
}
